<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
	xmlns:p="http://primefaces.prime.com.tr/ui">

	<ui:composition template="/templates/user/content.xhtml">
	<ui:include src="/templates/common/login_sidebar.xhtml"></ui:include>
	
	<ui:define name="body">
		<div class="container_24">
			<div class="wrapper">
				<ui:include src="/templates/user/sidebar_for_user.xhtml" />
				<div class="grid_17">
					<div class="inside">
					<h:form id="common-form" styleClass="table-box">
					<h:outputText value="Select Property For Searching: " />
	<h:selectOneMenu value="#{mProperty_Search.selectedProType}" id="prop_select_type">
	<a4j:ajax event="change" render="prop_type_select"></a4j:ajax>
						<f:selectItem noSelectionOption="true" itemLabel="---No Selection Property Type---" />
						<f:selectItem itemValue="p4r" itemLabel="Property For Rent" />						
						<f:selectItem itemValue="p4s" itemLabel="Property For Sell"/>
						<f:selectItem itemValue="r4r" itemLabel="Room for Rent"/>
						
	</h:selectOneMenu>
	<a4j:outputPanel id="prop_type_select">
								<ui:include src="/templates/user_search_property/search_property_for_rent.xhtml"></ui:include>
								<ui:include src="/templates/user_search_property/search_property_for_sale.xhtml"></ui:include>
								<ui:include src="/templates/user_search_property/search_room_for_rent.xhtml"></ui:include>
	</a4j:outputPanel>
	</h:form>
	</div>
	</div>
	</div>
	</div>
	</ui:define>
	</ui:composition>
</html>